Fixes #2199: Fix install media submit/cancel buttons when locations/orgs
disabled
- When locations and Organizations are disabled, the submit/cancel Buttons are
  not well displayed when you want to add a new medium.
Merge branch 'develop' of github.com:strider/foreman into develop