Feedback active coatings based on incorporated nanocontainers