Added support for onload callbacks

Added support for onload callbacks when showing the bootbox modal.