There is problem with extension of APEX session on the session expiration notification, if extend button clicking within 3~4 seconds (depend of Ajax callback processing speed) of message appearing.
(versions: APEX 24 and former, browsers: Edge, Chrome, Firefox)

When clicking Extend button, sometimes making one more GET request with “p_reset_idle=N” parameter and the session is not extended and the dialog coming up again.
/ords/apex_session.emit_timeouts?p_app_id=101&p_session_id=309134391365771&p_reset_idle=Y
/ords/apex_session.emit_timeouts?p_app_id=101&p_session_id=309134391365771&p_reset_idle=N
(The “p_reset_idle=N” GET request is calling when notification coming up first time)