Removed unused code
Move unbindCommandEvents from prompts to dispatcher
Move Prompts.getdir into Dialogs.GetDir