Ignore log and tmp files
Make modals top level element