Add published state to customised layout edit page