added a tap gesture to dismiss 'child mode'