Move modal to body to prevent it from getting hidden inside a BorderCont...

...ainer.

Also modified test to reproduce the bug.

Closes: https://github.com/agrc/PEL/issues/44