added comment and default value for new_modal_dialog method