Split out opacity dialog code