Added close method to close web app button handler