add dismiss panel when click out of side