If title/body is empty, error message displayed