How can I automatically load record that is being edited in squid model

You should use param id under the condition. So, select opportunity id under the condition and then select param id (see the first image). Also, ensure that your edit button pass the opportunity id to the Skuid model (see the second image)