Make it possible to choose a layer to which the extent should be extended: <img width="371" height="218" alt="Image" src="https://github.com/user-attachments/assets/df691c2b-e1f1-45c8-bfac-a57f4c1827ed" />