fixed dialog size, added option to go back to script editor or switch to expression editor when script is malformed