Open this page in the API Guide

PopupAction.closePopup Method

Closes any pop-up that is open from this action.