Overlay enter and leave the document on show/hide