Xref toggle

Would it be possible to implement a possibility to toggle xrefs between "Overlay" state and "Attach" state. In Acad this can be done by simply double-clicking on the current xref state. In Bricscad you have to detach and attach the xref again to change its state.