add ask download dialog

Change-Id: I5839bc61bcff6e361930f7d7a96dd2983cbeb990
Browser: code cleanup

Change-Id: Ic9ac7d09fe9ac2822b129bc7dfe292c8c0b4f816