Dialogs: Bugfix in InputDialog after changes