add alert widget to main layout, modify common.local config