use bootstrap alerts instead of alert dialogs