CH-1352 by Zarabadoo: Keep modal in view

- Prevent the form for adding a new element goal from being more than 80% of the viewport.
- Make the contents of the form scroll when it is larget than 80% of the viewport.