Removed unnecessary comma
Added callback functions after showing and hiding the overlay. Resolves #14