add ability to set layer on widgets