using add module for dialog
finally a working dialog and a css that styles dialog and upload button