Support org-mode's capture in ergoemacs-close-current-buffer.