Fix order of action buttons in the editor