Updated dialog code to y_dialog

Also removed all textdraw selection related functions that shouldn't
have been there since this is nothing to do with textdraws (they also
conflicted with textdraw based UI systems such as that in Scavenge and
Survive).