add close event to model cancel
restrict animation to sidepanel