fixing bugs with customize dialog on firefox