Panel: changed event listener. Fixed #5480 - Panel should close after, and not during, page animation