LOL after looking at the first graphic i started to type and explain that you could swap the soft keys for the touchscreen space and then i saw the second graphic where you already did it.
IMO the touchscreen buttons should be part of the source and the soft keys should be the 'global' buttons like in your second example.
The light popup is what i would do and have the X return to the previous page.
Avid Stamp Collector - I really love 39 Cent Stamps