implement dismiss block