hiding the dialog on start, 2nd attempt