added attachment dialog