Adding alert hanlding with arbitrary bootstrap classes