motion to dismiss a  jury trial