deposit: select only text input fiels

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>
deposit: flash messages on form or modal

* Checks if there is a `warning` state of the messages and
  displays the message on the form or on the modal.

Signed-off-by: Georgios Kokosioulis <georgios.kokosioulis@cern.ch>