debug modal