update .gitignore and fix display confirm dialog

Change-Id: I197e081f52f1ab130640f60fcc4d73109ebe326f