added modals directive
indexedDB is working