minor modal fix, still WIP