The various LoadLocation() handlers already take care of activating an appropriate context.
Attach a file by drag & drop or click to upload