Sundial won't permanently give you the creature. If it leaves it's still exiled, and it's at the end of turn, not just the end of your turn, so it still poofs at the end of your opponents turn. Training grounds is a good idea though.
Permalink