Neat idea. I also had trouble closing the popup and sometimes on level 1 it would get confused as to which direction I was trying and wouldn't allow any input, or I'd have to go up when I really wanted to go right.
Thank you for your feedback. Still a lot of debugging in front of me :)