Add an edit state view

This pull request add state tabs into the edit component modal.
There are a tab for each component states. They allow the user to configure component's states.