modal panel right mode fix