put alerts closer to buttons