fixed execute return values to coincide with correct execution (false -> no refresh, true -> refresh)

Changed behavior to refresh browser after dialog is closed. Doesn't refresh after failure conditions.