Fix long-standing service form bug.

If you went to run a service but canceled the dialog the next dialog you
submitted would be incorrect. Fix this by properly destroying the dialog.