Add alertModal and confirmModal functions for easy access to Bootstrap modal functionality