Fix dialogs js
Create notification for invite