Z-index fix and documentation

Fixed the z-index bug where notifications wouldn't display in front of
all other elements. Documented this in the respective files.