Adding dismiss blocks