Properly apply edit dialog brightness value.

Change-Id: If0bc90f045e5549dced296a7944e9ed0ea98b0c9