general: modal tweaks moved to invenio.js

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Merge remote-tracking branch 'adrianp-github/poo' into pu