editor: add save tab action.