Run hide animation if Popup was in the SHOWING state
(cherry picked from commit 60e38ea4cb36e1aff188e9bdc315f7a9b5c9ee32)