Added after events for open and close