moved alert to lower level so its hidden when not needed