return alert when no date selected