Added afterShow and afterClose callbacks

Hey Marco,
  I added 2 callbacks that would be useful, check it out.  Hopefully you'll include it.