Adding classes on popups for cool animation