Added attachments dialog with AJAX image uploading