[BUG: Low Priority] Orders Customer Contact Dialog Disappears

Bug Description:

When in an order and attempting to email a customer, our employees somewhat often complain that the Customer Contact dialog box disappears while attempting to select & remove the default content from the Subject textbox. This bug appears to be consolidated to Google Chrome, regardless of which extensions are enabled/installed. It is my personal opinion that this occurs due to the left mouse button being released outside of the dialog window.

How to replicate:

  1. Open an order in Google Chrome
  2. Click on the customer’s email under Contact Information
  3. When the Contact Customer dialog box comes up, attempt to quickly highlight all of the default content (Message from {{ shop.name }}) in the Subject textbox.
  4. Occasionally (40-50% of the time), the dialog box will disappear, as if you clicked outside of the dialog box region.

I can include a video of this bug appearing if I can do so privately, as it would include customer information.

Google chrome Version 108.0.5359.125 (Official Build) (64-bit)

OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.19045 N/A Build 19045