Added standard close-function to the close-button of bootstrap.
Added additional function for close-callback.