Implemented RealTime file create and delete logic.

Also includes changes to allow showing chat pane after a private message created.
deleted this line because layout will be set as empty in workspace model while creating.