submit wait dialog