Implement missing message_dialog in editor.py