One other problem that might arise when setting the MDA in the MCP Altitude window, is that the A/C (depending on A/C type & FGS algorithms) might descend after pressing TOGA if you accidently leave the MDA in the MCP and engage a speed mode instead of leaving the GA mode active before changing the ALT SEL to a higher value than your current alt. The best is to stick to the manufacturer's procedures and be very careful in just accepting operator's/CAA's (no specific airline/country) quick fix solutions to the CANPA which stands for "Constant Angle NPA".
Safe Flying
Cheersh vir eersh