LPS-33345 Update the modified date of the layout only if its priority is actually changed