Prevents empty submission