gave form elements access to current repository access hash
used this to initalize selection modal for file and image form elements