Implement generic modal and download modal