Mode Modal with optional navigation bar.

Sometimes it's not interesting for the user experience point of view to display the navigation bar in when push in "ModeModal" so I made it optional.

Also create two button, "Mode Navigation" and "Mode Modal" to make the example easier to understand. Also clean up in the code.