* develop-ascraeus: [ticket/13018] Clean up and fix some logic. [ticket/13018] Do not handle events in close function. [ticket/13018] Reduce the delta further. [ticket/13018] Remove duplicate logic in confirm box and alert box handling.