Fix PALM dialog bug