modal window to editor