Close button added.
Ability to disable navigation and close buttons added.