modal configured. consider simpler approach