replaced "Join Chat" modal; changed a little bit logic of modal close button; change in AM config.php