worked out modal window bug on mobile slideout menu