add dismiss with animation