some general simplification to modal, menus, etc