Transitions for card tabs and ESC keybinding to close modal
Move page base class to lib. Optional sections argument in the constructor