Changed error popups to display in hidden div