Set custom animations for showing and hiding Bootstrap modals.