Updated hide functionality. Removed Alerts. Left the error alerts in place