Added after close hook