dialog leak fixed