added action-buttons and layout for dynamic pages