Revert "Revert "add save method to retrieve current state of component""

this is ugly....