Improve dialog for desktop version.
Use updated version of handling closing opening for progress dialog as well.
Clean obsolete comment.