You really want to use the old panel as a template. It's not just WxH, you also need to match the depth, so you need to see what's currently in it. You can go thinner if needed, by using a backer (eg, cardboard, etc). You can NOT go thicker. Some are 1/8", some 1/4", etc.
Also, be aware of...