added modal UI for use for authentication etc.