- Fixed #105 smart_close_popup() behavior.