Fix Issue #238 by setting setVisible to false

Fix Issue #239 by changing button name from 'Cancel' to 'Close'