added ability to close controllers