Fixed regression which prevented actions on modal buttons to be triggered