Added dialog boxes for download