prevent exception when invoked without current_dialog object