moved alerts below buttons