Tested for new dismiss method.