Lost code due to modal dismissal.

Hi, small quality of life suggestion – when I am writing and editing code in the code editor, I constantly unintentionally lose everything. This is because of two reasons:

  1. Clicking outside of the modal dismisses the modal without saving regardless if changes have been made
  2. When selecting text in the editor via mouse down, if I overshoot the modal bounds and mouse up outside of it, this registers as a click, initiating (1)
    Suggestions:

• Remove click to dismiss functionality entirely from code editor modal
◦ alternatively, consider implementing two step operation to close if changes have been made
• If not removed entirely, incorporate a solution similar to these for handling the selection issue

Thanks for the feedback @expansive_tortoise! The selection issue has been solved.

@icaro Your team is so rad, thank you so much!!!