Added onCloseClick callback.
Merge pull request #120 from OliverUv/master

Added callback onCloseClick