Replace window.alert with Twitter Bootstrap Modal