fix bugs of open and close flow tabs.
enable and disable buttons when center container focus changes.