Improved the example application, implemented modals.