Bugfixes, clear api, etc

Now you can click on the modal backdrop to close it. Previously, this
was buggy.
Also, the modal scrolls if it's height is greater than the window's
height.