Refactored LoginBoxModal to use Abstract Modal