fixed edit photo bug on edit entry, removed submit button for display photo modal