splat: fix memory leak when printing hardcopies

Dispose of the controlling dialog so that all it's resources can be GC'd