clear player after dialog is dismissed