init dialog activity