the on blur event will trigger regardless of which element you click when focusing out of the input.
user then has to visualize the preview in order to cancel it, or else it gets stuck in a loop of clicking cancel -> opening preview modal -> confirming the preview, clicking cancel...
this is tied to the previewFromUrl method, around line 239
there must be a way to check which element in being focused into?