Added completion handler for hiding