latest attempt at having modal view work