Add example setting for title and cancel
Fix warning