Properly apply edit dialog brightness value.

Change-Id: If0bc90f045e5549dced296a7944e9ed0ea98b0c9
(cherry picked from commit 3bcbd70d895d86edd14a65e26ef2676ed7fb5281)