work on progress dialog button