EUCA-7933

Missing the cleanup call when closing the previous dialog.
Merge pull request #215 from eucalyptus/EUCA-7933

EUCA-7933