Issue #1802026 by David_Rothstein, hefox, torotil, timbrandin, tobiasb, clemens.tolboom: Ajax callbacks in the media overlay cause the active tab to switch tab unexpectedly