An alternative view for the popup dialog might look something like that - even though I'd still prepare a black-and-white editor but with proper size for inline editing mode.