Set focus to input when dialogs open