customize progress dialog's window flags