Pull request for Issue1034: XES Apply to scans issue

"Apply to scans" is working, but the fact that it writes directly to the db, which doesn't push those changes up to open scans continues to cause problems for users.

Added a confirmation dialog to try to clarify this to users.
I'm pretty sure most of these aren't being cleaned up.  Since it's a one off application, it isn't the biggest deal, but in general we should avoid memory leaks.