updated modal logic, styled navigations