An extension to the Bootstrap Modal plugin