HACK - fix verify authenticity token on popups