Was trying to access model before creating layer data
Add TAB key placeholder, layer properties, remove unused css