Updates to switch to modal task monitor.  Use dispose instead of
setVisible(false) and add new method to determine if there is a GUI
tunable before hiding (disposing of) the task monitor dialog.
Refs #2463

Change-Id: I25c217e55be1ed1e8d4fdebc3ddc5055e625735f