Added afterShow and afterClose callbacks
Merge pull request #1 from Ortuna/callbacks

Added afterShow and afterClose callbacks