close download dialog on enter