hide dialog after getting info