modal.show actually uses navigationBar parameter instead of deprecated hidesNavigationBar