added attachment preview and actions