manage alert + maximize window