whole_func_string: function removed() {  // {{{2
    if (O.ui.dialogs[O.ui.dialogs.length - 1] === this) {
      O.ui.dialogs.pop();
  
      if (this.lastHistory === O.ui.lastHistory) {
        history.back();
      }
  
      if (! O.ui.dialogs.length) {
        delete O.ui.dialogs;
      }
    }
  }
func_code_string: function removed() {  // {{{2
    if (O.ui.dialogs[O.ui.dialogs.length - 1] === this) {
      O.ui.dialogs.pop();
  
      if (this.lastHistory === O.ui.lastHistory) {
        history.back();
      }
  
      if (! O.ui.dialogs.length) {
        delete O.ui.dialogs;
      }
    }
  }
func_documentation_string: }}}1 Event handlers {{{1