fixed bug: please wait activated only after file dialog is ok'ed