bumping to v2.0.0-build1012
check if dialog is not null before we dismiss it in HomeActivity