fixes for the dialog