I don’t know what template you are using, but start from the beginning: highlight the layer that has the “shape” that you want to turn into a mask (probably that one with uneven edges), select all and float. That will give you the floating selection layer with the correct “shape”. Then, go back to the layer just below the one that is currently active. That is the layer that should allow you to add a mask to. Would that work?