adding an alert for information, also making hide/show logic more intuitive