Added styles to error popups
automatically close alerts after 10 seconds