Edit window layout and image context menu binding