disabling input while message posting