Fix autoclose of dialogs