Reworked confirmationFrameListener.