Send event to open a snapshot conflicts with later script steps
Operating system version
Description of the issue
I am trying to open a snapshot from a script.
When I click the snapshot, it works perfectly.
When There are no script steps after the send event, it works perfectly, but certain steps after the send event seem to conflict with it and the snapshot doesn't open
Steps to reproduce the problem
set variable $time1 = get current time
Go to layout x
send event aaa.fmpsl
set variable $time2=get current time
show custom dialog time2-time1/1000
The snapshot was made in the same layout I am set on, strictly speaking, the go to layout may not be necessary.
The snapshot opens
It doesn't (but it does when the dialog box is disabled).
Things that don't work
Placing a 10 second pause between the send event and the dialog box
putting an infinite loop.
Refreshing the window before or after the dialog box
Placing many set variables after the send event (though just a few isn't a problem)
Filefire launch function
Using send event on a .bat file that opens the snapshot