Create notifyWarning: function
Implement autocomplete on photo detail view