code: function handleFileDelete() {
          var entry = ProjectManager.getSelectedItem();
          Dialogs.showModalDialog(
              DefaultDialogs.DIALOG_ID_EXT_DELETED,
              Strings.CONFIRM_DELETE_TITLE,
              StringUtils.format(
                  entry.isFile ? Strings.CONFIRM_FILE_DELETE : Strings.CONFIRM_FOLDER_DELETE,
                  StringUtils.breakableUrl(entry.name)
              ),
              [
                  {
                      className : Dialogs.DIALOG_BTN_CLASS_NORMAL,
                      id        : Dialogs.DIALOG_BTN_CANCEL,
                      text      : Strings.CANCEL
                  },
                  {
                      className : Dialogs.DIALOG_BTN_CLASS_PRIMARY,
                      id        : Dialogs.DIALOG_BTN_OK,
                      text      : Strings.DELETE
                  }
              ]
          )
              .done(function (id) {
                  if (id === Dialogs.DIALOG_BTN_OK) {
                      ProjectManager.deleteItem(entry);
                  }
              });
      }
docs: Delete file command handler  *