add close and delete styles