Customize button text and add prompt when user exits editor

Rewrite logs