active modal z-index to prevent overlapping elements

Fixes issue #18.

Tested in:
Chrome, Firefox, Opera, Safari (mac)
IE11, IE10, IE9.