tests around one button dialog handling of escape and close triggers