Added modal dialog layer