shows error message when url and title fields are blank