added new ingredient dialog menu

Now we can add an ingredient with a dialog menu. it performs the same way that the current functionality performs