Remove deadcode
Fixed #55. Hide dialogs in chooser