changed wait dialog