Photo preview updated on file select

Details
-------
-Default behaviour prevented for submit and publish buttons.
-Hiddend input field added for publish/save control

Ticket
------