modal for solution working