Close dialog after download and minor CSS tweak