adding in modal code, still unworking