BZ-8805: dismiss the modal