added gitignore and a dialog