Moved editor handling into text_container
Use custom events to trigger mode changes
Added Edit button
Moved submit into text_container and deleted command object