added prompts when no mongo data is returned to edit view